package com.iris.live.services.data.models;

import com.fasterxml.jackson.annotation.JsonProperty;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Table;

/**
 * Created by xin on 2016/7/11.
 */
@SuppressWarnings("JpaDataSourceORMInspection")
@Embeddable
@Table(name = "LSH集团信息部门", schema = "sg_lsh", catalog = "")
public class Lsh集团信息部门Model {
    private String 推送部门;

    @Basic
    @Column(name = "推送部门")
    @JsonProperty("推送部门")
    public String get推送部门() {
        return 推送部门;
    }

    public void set推送部门(String 推送部门) {
        this.推送部门 = 推送部门;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Lsh集团信息部门Model that = (Lsh集团信息部门Model) o;

        if (推送部门 != null ? !推送部门.equals(that.推送部门) : that.推送部门 != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        return 推送部门 != null ? 推送部门.hashCode() : 0;
    }
}
